<div class="jumbotron">
	<img alt="Votei.Net" src="<?php echo $this->baseUrl('assets/img/logo.png'); ?>" />
	<h3>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</h3>
</div>

<div class="row">
	<?php $count = 0; ?>
	<?php foreach ($this->debates as $debate): ?>
	<div class="col-6 col-sm-6 col-lg-4">
		<h2><?php echo SON_Helper_Util::resume($debate['titulo'], 20); ?></h2>
		<p><?php echo SON_Helper_Util::resume($debate['descricao'], 300); ?></p>
		<p>
			<a class="btn btn-default" href="<?php echo $this->url(array('module' => 'default', 'controller' => 'debates', 'action' => 'discuss', 'debate' => $debate['id'])); ?>" role="button">Ver debate &raquo;</a>
		</p>
	</div>
	<!--/span-->
	<?php if (++$count % 3 == 0): ?><div class="clearfix"></div><?php endif; ?>
	<?php endforeach; ?>
</div>
<!--/row-->